package com.xzmzhp.pojo.activity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author: 王源(xm)
 * @create: 2022-03-29 11:21
 * @program: ams
 * @description: 节目库管理实体类
 */
@Data
public class ProgramLibrary {

    /**节目id*/
    private Integer programId;

    /**节目名称*/
    private String programName;

    /**节目内容*/
    private StringBuilder programContent;

    /**创建时间*/
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date programCreationTime;

    /**节目类型id*/
    private Integer programTypeId;

    /**节目类型名称*/
    private String programTypeName;

    /**备用列1*/
    private String remark1;

    /**备用列2*/
    private String remark2;
}
